// * 请求响应参数
export interface Result<T = any> {
  code: number
  data: T
  mmessage: string
}

export interface ResLogin {
  access_token: string
}

export interface ResSettings {
  skuList: Array<ResSku>
  address: ResAddress
}

export interface ResSku {
  id: number
  price: number
  title: string
  photoCount: number
  isDeletable: boolean
}

export interface ResAddress {
  province?: string
  city?: string
  district?: string
  details?: string
  phone?: string
}

export interface ResUser {
  createdAt: string
  id: number
  name: string
  phone: string
  skus: { id: number; title: string }[]
}
